package com.bsj.power.common.def.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @Description 场景
 * @Author zhaoyang
 * @Date 2024/5/11 10:39
 */
@TableName("tab_scene")
@Data
public class Scene {

    /**
     * 场景id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 场景名称
     */
    @TableField("scene_name")
    private String sceneName;

    /**
     * 场景位置点
     */
    @TableField("scene_point")
    private String scenePoint;

    /**
     * 父id
     */
    @TableField("pid")
    private Integer pid;

    /**
     * 是否是敏感区域
     */
    @TableField("sensitived")
    private Integer sensitived;

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;

    /**
     * 层数
     */
    @TableField("floor")
    private Integer floor;

    /**
     * 哪栋楼
     */
    @TableField("building")
    private Integer building;

    /**
     * 排序
     */
    @TableField("serial_num")
    private Integer serialNum;


}
